package imitate_Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 28779
 * Date: 2023-04-15
 * Time: 16:59
 */
public class Test {
    public static void main(String[] args) {
        MyStack myStack = new MyStack();
        myStack.push(1);
        myStack.push(2);
        myStack.push(3);
        myStack.push(4);
        myStack.push(5);
        myStack.push(6);
        System.out.println("========");

        System.out.println(myStack.pop());

        System.out.println(myStack.peek());
        System.out.println(myStack.peek());

        System.out.println(Integer.parseInt("2"));
    }

}

